//
//  XGTextViewController.swift
//  WeIBo
//
//  Created by 苏文潇 on 2017/3/5.
//  Copyright © 2017年 苏文潇. All rights reserved.
//

import UIKit

class XGTextViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

        self.view.backgroundColor = UIColor.white
        
        navigationItem.rightBarButtonItem = UIBarButtonItem(title: "Push", target: self, action: #selector(pushClick))
    }


    @objc private func pushClick(){
        
        let textVc = XGTextViewController()
        
        self.navigationController?.pushViewController(textVc, animated: true)
    }

}
